﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Wix.Aura.Common;
using Wix.Aura.Common.CustomTypes;

namespace Wix.Aura.UnitTests.Common {
	[TestFixture]
	public class ComponentCollectionsSerialization : ProductChildren {
		[Test]
		public void AppId() {
			string expected = @"<Component>
			<AppId Id=""00000000-0000-0000-0000-000000000000"" />
		</Component>";
			expected = string.Format(baseXml, expected);

			Component component = new Component();
			component.AppId.Add(new AppId(Guid.Empty));
			project.Product.Component.Add(component);

			Assertion(expected, project);
		}
	}
}
